package xyz.xiaomuyu.moment_read_app.bean;

import java.util.Date;

public class Comment {
    private String commentId;
    private String articleId;
    private String content;
    private String authorId;
    private Date createTime;

    @Override
    public String toString() {
        return "Comment{" +
                "commentId='" + commentId + '\'' +
                ", articleId='" + articleId + '\'' +
                ", content='" + content + '\'' +
                ", authorId='" + authorId + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Comment(String commentId, String articleId, String content, String authorId, Date createTime) {
        this.commentId = commentId;
        this.articleId = articleId;
        this.content = content;
        this.authorId = authorId;
        this.createTime = createTime;
    }
}
